package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.Education;
import com.ruoyi.system.domain.EducationUser;

/**
 * 课程Service接口
 * 
 * @author ruoyi
 * @date 2021-08-06
 */
public interface IEducationService 
{
    /**
     * 查询课程
     * 
     * @param eId 课程ID
     * @return 课程
     */
    public Education selectEducationById(Long eId);

    /**
     * 查询课程列表
     * 
     * @param education 课程
     * @return 课程集合
     */
    public List<Education> selectEducationList(Education education);

    /**
     * 新增课程
     * 
     * @param education 课程
     * @return 结果
     */
    public int insertEducation(Education education);

    /**
     * 修改课程
     * 
     * @param education 课程
     * @return 结果
     */
    public int updateEducation(Education education);

    /**
     * 批量删除课程
     * 
     * @param eIds 需要删除的课程ID
     * @return 结果
     */
    public int deleteEducationByIds(Long[] eIds);

    /**
     * 删除课程信息
     * 
     * @param eId 课程ID
     * @return 结果
     */
    public int deleteEducationById(Long eId);

    public int insertEducationUser(EducationUser educationUser);
    public EducationUser selectEducationUserById(Long peId);
    public List<EducationUser> selectEducationUserList(EducationUser educationUser);
}
